package com.ruoyi.basedata.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 联系方式对象 finer_phone
 * 
 * @author lvql
 * @date 2024-10-24
 */
public class Phone extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer Id;

    /** 联系人编号 */
    @Excel(name = "联系人编号")
    private String perCode;

    /** 联系方式 */
    @Excel(name = "联系方式")
    private String phone;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 修改人 */
    @Excel(name = "修改人")
    private String modifyBy;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    /** 0-存在，1-删除 */
    private Boolean isDel;

    public void setId(Integer Id) 
    {
        this.Id = Id;
    }

    public Integer getId() 
    {
        return Id;
    }
    public void setPerCode(String perCode) 
    {
        this.perCode = perCode;
    }

    public String getPerCode() 
    {
        return perCode;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public void setModifyDate(Date modifyDate)
    {
        this.modifyDate = modifyDate;
    }

    public Date getModifyDate() 
    {
        return modifyDate;
    }
    public void setIsDel(Boolean isDel) 
    {
        this.isDel = isDel;
    }

    public Boolean getIsDel() 
    {
        return isDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("Id", getId())
            .append("perCode", getPerCode())
            .append("phone", getPhone())
            .append("createBy", getCreateBy())
            .append("createDate", getCreateDate())
            .append("modifyBy", getModifyBy())
            .append("modifyDate", getModifyDate())
            .append("isDel", getIsDel())
            .toString();
    }
}
